# -*- coding: utf-8 -*-

from Simulinux.Core.Block import Block

class Gain(Block):
    refname = 'math.gain'
    name = 'Math gain operation'
    description = 'Multiplies a signal by a constant value'
    def __init__(self, x, y):
        Block.__init__(self, x, y)
        self.name = "Gain"
        self.amplitude = 1
        self._create_single_input_pin()
        self._create_single_output_pin()
